package com.ysh.springbookdemo.service;


import com.ysh.springbookdemo.mapper.UserInfoMapper;
import com.ysh.springbookdemo.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserInfoService {
    @Autowired
    private UserInfoMapper userInfoMapper;
    public UserInfo queryUserInfoByName(String name) {
        return userInfoMapper.queryUserInfoByName(name);
    }
}
